<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>常见问题检索</title>
    <script type="text/javascript">
    <script type="text/javascript"> 
		window.onload = function(){
		
		var oInput = document.getElementById('text');
		oInput.value="赋值"
		
		}
</script>
    </script>
  </head>
  <body>
    <h1 align="center">常见问题检索</h1>
    <table align="center">
        <tr>
          <td>分类:</td>
          <td>${faqs.classes.cname}</td>
        </tr>
          <tr>
          <td>添加时间:</td>
          <td><s:date name="faqs.createdate" format="yyyy-MM-dd"/></td>
        </tr>
          <tr>
          <td>标题:</td>
          <td>${faqs.title}</td>
        </tr>
          <tr>
          <td>内容:</td>
          <td><textarea readonly="readonly">${faqs.content}</textarea></td>
           <tr>
            <tr>
              <td colspan="2"><input type="button" value="返回" onclick="window.location.href='faqs_list.action'"/></td>
           <tr>
    </table>
  </body>
</html>
